package org.jeecg.modules.demo.zhidingyueduzhongdiangongzuo.service;

import org.jeecg.modules.demo.zhidingyueduzhongdiangongzuo.entity.Yuedupeihebumen;
import org.jeecg.modules.demo.zhidingyueduzhongdiangongzuo.entity.Zhidingyueduzhongdiangongzuo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.system.entity.SysDepart;
import org.jeecg.modules.system.entity.SysUser;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 制定月度重点工作
 * @Author: jeecg-boot
 * @Date:   2025-11-07
 * @Version: V1.0
 */
public interface IZhidingyueduzhongdiangongzuoService extends IService<Zhidingyueduzhongdiangongzuo> {

	/**
	 * 添加一对多
	 *
	 * @param zhidingyueduzhongdiangongzuo
	 * @param yuedupeihebumenList
	 */
	public void saveMain(Zhidingyueduzhongdiangongzuo zhidingyueduzhongdiangongzuo,List<Yuedupeihebumen> yuedupeihebumenList) ;
	
	/**
	 * 修改一对多
	 *
   * @param zhidingyueduzhongdiangongzuo
   * @param yuedupeihebumenList
	 */
	public void updateMain(Zhidingyueduzhongdiangongzuo zhidingyueduzhongdiangongzuo,List<Yuedupeihebumen> yuedupeihebumenList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);


	public List<SysUser> getZerenzhuguanid();
	public List<SysDepart> getPeihebumen();
}
